package com.example.pingze.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
@Data
public class MyInfo {
    @Id
    private String account;
    private String nickname;
    private String sexy;
    private String myTag;
    private String mySign;
    private String birthday;
    private String avatar;
    private String bg;

    public MyInfo() {

    }

    public MyInfo(String account, String nickname, String sexy, String myTag, String mySign, String birthday, String avatar, String bg) {
        this.account = account;
        this.nickname = nickname;
        this.sexy = sexy;
        this.myTag = myTag;
        this.mySign = mySign;
        this.birthday = birthday;
        this.avatar = avatar;
        this.bg = bg;
    }
}
